/*
 * licenses
 *
 */

package com.openjawtech.xscraper.flights;

import com.openjawtech.xscraper.flights.service.impl.PersistServiceImpl;
import com.openjawtech.xscraper.flights.service.impl.SearchServiceImpl;

/**
 * <p>a factory used to create the instances of the services
 *
 * <p>18/02/2009
 * @author Wenbo.Sun
 */
public class ServiceFactory {

    //create a persist service instance and return it
    public static PersistService createPersistService(){
        return new PersistServiceImpl();
    }

    //create a search service instance and return it
    public static SearchService createSearchService(){
        return new SearchServiceImpl();
    }
}
